﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DeviceSDK.LED.ShiZhan
{
    public partial class ShiZhan_Msg : Form
    {
        private const int WM_LED_NOTIFY = 1025;
        public int GetHandle
        { 
            get{return (int)Handle;}
        }
        public ShiZhan_Msg()
        {
            InitializeComponent();
        }
        protected override void DefWndProc(ref System.Windows.Forms.Message m)
        {
            switch (m.Msg)
            {
                case WM_LED_NOTIFY:
                    ShiZhan_2010.OnLEDNotify((UInt32)m.Msg, (UInt32)m.WParam, (UInt32)m.LParam);
                    break;
                default:
                    base.DefWndProc(ref m);//调用基类函数处理非自定义消息。
                    break;
            }
        }
        private void ShiZhan_Msg_Load(object sender, EventArgs e)
        {

        }
    }
}
